package com.jt.yygh.hospital.dict;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author jiang tao
 * @date 2022/2/18
 * @SpringBootApplication = @Configuration+@EnableAutoConfiguration+@ComponentScan
 * 如果单独使用@ComponentScan 那么@SpringBootApplication会失效。
 * @description:
 **/
@SpringBootApplication
@MapperScan("com.jt.yygh.hospital.dict.mapper")
@ComponentScan({"com.jt.yygh.common.config","com.jt.yygh.hospital.dict"})
@EnableDiscoveryClient

public class ServiceDictApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceDictApplication.class,args);
    }
}
